<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/styles/style.css" />
<link type="text/css" href="${pageContext.request.contextPath }/scripts/jquery-ui-1.8.16.custom/css/sunny/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<title>Insert title here</title>
</head>
<body>
	<jsp:include page="parts/header.jsp"/>
	
	
	
	<div id="main" class="ui-widget-content form_pad">
		<jsp:include page="parts/choiceBar.jsp"></jsp:include>
		
		<div id="content">
			<h1>${room.article }</h1>
		<hr/>
		<div align="center"  class="picture">
			<img src="pictures/big/${room.bigPhoto}" width="600" height="500"/>
		</div>
		<p></p>

		<br/>
		
		<table id="roomData">
			<tr>
				<th>Class room</th>
				<th>Price</th>
				<th>Status</th>
				<th>Description</th>
				<th>Reserved time</th>
			</tr>
			<tr>
				<td>${room.classRoom}</td>
				<td>${room.price}</td>
				<td>${room.status}</td>
				<td>${room.description}</td>
				<td>${room.reservedTime}</td>
			</tr>
		</table>
		<div align="right">
		<form name="roomForm" method="post" action="${pageContext.request.contextPath}/controller">
			<input type="hidden" name="command" value="forwardOrder"/>
			<input type="hidden" name="room_id" value="${room.hotelRoomId }"/>
			<input type="submit" value="Order">
		</form>
		
		</div>
		
		
		</div>
		
		
	</div>
	
	
	
	<jsp:include page="parts/footer.jsp"/>

	
</body>
</html>